import { createRouter, createWebHistory } from 'vue-router'
const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('../components/login.vue'),
  },
  {
    path: '/regist',
    name: 'regist',
    component: () => import('../components/regiest.vue'),
  },
  {
    path: '/ai',
    name: 'ai',
    component: () => import('../components/ai.vue'),
  },
]
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes,
})

export default router